package com.yxym.exception_;

import java.util.SplittableRandom;

public class Exception04 {
    public static void main(String[] args) {
        A a  = new B();
        B b = (B) a;

    }
}
class A{
}

class B extends  A{

}
class C extends A{}